<?php /* Smarty version 2.6.14, created on 2009-08-17 11:03:53
         compiled from aomen_info_edit.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'checked', 'aomen_info_edit.htm', 16, false),array('modifier', 'selected', 'aomen_info_edit.htm', 21, false),array('modifier', 'correct_path', 'aomen_info_edit.htm', 29, false),)), $this); ?>
<form name="news_edit" action="" method="post">
<div class="maintable_div" style="width:750px">
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="maintable">
  <tr>
    <th align="left"><div class="thead"><?php echo $this->_tpl_vars['page_title']; ?>
</div></th>
  </tr>
  <tr>
    <td>
    <table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="datalist">
      <tr bgcolor="#FFFFFF">
        <td width="80" align="center">标题</td>
        <td align="left"><input name="title" type="text" class="text" value="<?php echo $this->_tpl_vars['title']; ?>
" size="80" /></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">是否热点</td>
        <td align="left"><input type="radio" name="hot" value="1" <?php echo ((is_array($_tmp=$this->_tpl_vars['hot'])) ? $this->_run_mod_handler('checked', true, $_tmp, '1') : checked($_tmp, '1')); ?>
 />是 <input type="radio" name="hot" value="0" <?php echo ((is_array($_tmp=$this->_tpl_vars['hot'])) ? $this->_run_mod_handler('checked', true, $_tmp, '0') : checked($_tmp, '0')); ?>
 />否
        <span class="gray">未通过审核的文章将不会被显示</span></td>
      </tr>
       <tr bgcolor="#FFFFFF">
        <td align="center">信息类别</td>
        <td align="left"><select name="type"><option value="1" <?php echo ((is_array($_tmp=$this->_tpl_vars['type'])) ? $this->_run_mod_handler('selected', true, $_tmp, '1') : selected($_tmp, '1')); ?>
 >酒店</option><option value="2" <?php echo ((is_array($_tmp=$this->_tpl_vars['type'])) ? $this->_run_mod_handler('selected', true, $_tmp, '2') : selected($_tmp, '2')); ?>
>购物</option><option value="3" <?php echo ((is_array($_tmp=$this->_tpl_vars['type'])) ? $this->_run_mod_handler('selected', true, $_tmp, '3') : selected($_tmp, '3')); ?>
>美食</option><option value="4" <?php echo ((is_array($_tmp=$this->_tpl_vars['type'])) ? $this->_run_mod_handler('selected', true, $_tmp, '4') : selected($_tmp, '4')); ?>
>娱乐</option><option value="5" <?php echo ((is_array($_tmp=$this->_tpl_vars['type'])) ? $this->_run_mod_handler('selected', true, $_tmp, '5') : selected($_tmp, '5')); ?>
>交通</option><option value="6" <?php echo ((is_array($_tmp=$this->_tpl_vars['type'])) ? $this->_run_mod_handler('selected', true, $_tmp, '6') : selected($_tmp, '6')); ?>
>活动</option><option value="7" <?php echo ((is_array($_tmp=$this->_tpl_vars['type'])) ? $this->_run_mod_handler('selected', true, $_tmp, '7') : selected($_tmp, '7')); ?>
>景点</option><option value="8" <?php echo ((is_array($_tmp=$this->_tpl_vars['type'])) ? $this->_run_mod_handler('selected', true, $_tmp, '8') : selected($_tmp, '8')); ?>
>其他</option></select></td>
      </tr>
       <tr bgcolor="#FFFFFF">
        <td align="center">信息所属地</td>
        <td align="left" width="100"><select name="address"><option value="1" <?php echo ((is_array($_tmp=$this->_tpl_vars['address'])) ? $this->_run_mod_handler('selected', true, $_tmp, '1') : selected($_tmp, '1')); ?>
>澳门</option><option value="2" <?php echo ((is_array($_tmp=$this->_tpl_vars['address'])) ? $this->_run_mod_handler('selected', true, $_tmp, '2') : selected($_tmp, '2')); ?>
>氹仔</option><option value="3" <?php echo ((is_array($_tmp=$this->_tpl_vars['address'])) ? $this->_run_mod_handler('selected', true, $_tmp, '3') : selected($_tmp, '3')); ?>
>路环</option></select></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">图片</td>
        <td align="left"><input name="images" type="text" class="text" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['img'])) ? $this->_run_mod_handler('correct_path', true, $_tmp) : correct_path($_tmp)); ?>
" size="50" />
        <input type="button" name="Submit" class="button" value="上传图片" onclick="OpenUpLoad('news_edit','images',1,0)" /></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">内容</td>
        <td align="left"><textarea name="content" id="news_content" class="hide_textarea"><?php echo ((is_array($_tmp=$this->_tpl_vars['content'])) ? $this->_run_mod_handler('correct_path', true, $_tmp) : correct_path($_tmp)); ?>
</textarea>
        <iframe src="fck/editor/fckeditor.html?InstanceName=content&amp;Toolbar=Custom" width="100%" height="350" frameborder="no" scrolling="No"></iframe></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">录入时间</td>
        <td align="left"><input name="addtime" type="text" class="text" value="<?php echo $this->_tpl_vars['addtime']; ?>
" size="30" />
        <span class="gray">修改时间对文章进行排序，格式：2006-10-17 10:05:00</span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">录入作者</td>
        <td align="left"><input name="adduser" type="text" class="text" value="<?php echo $this->_tpl_vars['adduser']; ?>
" size="30" /></td>
      </tr>
      <!--<tr bgcolor="#FFFFFF">
        <td align="center">点击统计</td>
        <td align="left"><?php echo $this->_tpl_vars['click_count']; ?>
 次</td>
      </tr>-->
    </table>    </td>
  </tr>
</table>
</div>

<div class="formControl">
  <input type="submit" name="submit" value=" 保存编辑 " class="button" />
  <input type="button" name="return" value="返回上一页" class="button" onclick="history.go(-1)" />
  <input type="hidden" name="action" value="submit" />
  <input type="hidden" name="id" value="<?php echo $this->_tpl_vars['id']; ?>
" />
  <input type="hidden" name="classid" value="<?php echo $this->_tpl_vars['classid']; ?>
" />
</div>
</form>